package org.linlinjava.litemall.db.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.linlinjava.litemall.db.models.Ad;

import java.util.List;

public interface AdService extends IService<Ad> {

    public List<Ad> queryIndex();
    public IPage<Ad> querySelective(String name, String content, Integer page, Integer limit);
}
